#ifndef __CMSIS_MEM_TLSF_H__
#define __CMSIS_MEM_TLSF_H__

/**
 * @description:
 * @return {*}
 */
void cmsis_mem_tlsf_init(void);

/**
 * @description:
 * @param {size_t} bytes
 * @return {*}
 */
void *cmsis_mem_tlsf_malloc(size_t bytes);

/**
 * @description:
 * @param {tlsf_t} tlsf
 * @param {size_t} align
 * @param {size_t} bytes
 * @return {*}
 */
void *cmsis_mem_tlsf_memalign(size_t align, size_t bytes);

/**
 * @description:
 * @param {tlsf_t} tlsf
 * @param {void*} ptr
 * @param {size_t} size
 * @return {*}
 */
void *cmsis_mem_tlsf_realloc(void *ptr, size_t size);

/**
 * @description:
 * @param {tlsf_t} tlsf
 * @param {void*} ptr
 * @return {*}
 */
void cmsis_mem_tlsf_free(void *ptr);

#endif /* __CMSIS_MEM_TLSF_H__ */
